﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Xml.Serialization;
using System.Linq;
using System.Text;

namespace GMAC.ReportingSystem.Business.Components
{
    public class ReportComponent
    {
        private DataAccess.ReportDataAccess dac;

        public ReportComponent()
        {
            dac = new GMAC.ReportingSystem.DataAccess.ReportDataAccess();
        }

        public Business.Entities.ReportCollection GetList(String ReportProjectName)
        {
            return dac.GetList(ReportProjectName);
        }
        public Business.Entities.Report GetDetails(String ReportProjectName, String ReportName)
        {
            return dac.GetDetails(ReportProjectName, ReportName);
        }
    }
}
